var config = {
	"id": "mi_line_bar",
	"event_key": "fold_list1",
	"height":300,//默认无 如果不设置高度，组件的高度就按默认的计算方式设置高度
	"component_type": "mi-line-bar",
	"event_key":"",
	"chart_config": {
		"title": "<p>这是标题</p>",//图标的标题 支持html
		"render": {//渲染chart时的设置
			"type": "line",//line折线图 bar柱状图 默认line
			"position": "month*temp",//x和y轴的数据对应的字段 x轴显示month字段 y轴显示temp字段
			"isGroup": 1,//是否有分组 默认0 isGradient为1时无效
			"groupField": "city",//分组字段 以哪个字段进行分组
			"colorField":"",//每个柱的颜色配置 和 colors搭配使用 比如 值在哪个范围之内时显示某个颜色
			"colors":{
				"$$_{{value}}>0&&{{value}<80_$$":"#1890ff",
				"$$_{{value}}>=80&&{{value}<100_$$":"yellow",
				"$$_{{value}}>=100_$$":"red"
			},
			"groupShape": {//有分组时每个分组的线的样式映射
				"London": "line",//city:"London"的分组 线的样式为line  线的样式 line实线 dash虚线 smooth曲线 默认line
				"Berlin": "smooth"
			},
			"shape": "line",//isGroup为0时的线类型
			"isGradient": 1,//是否有渐变色 为1时不能分组显示
			"gradientColor": {//渐变色配置
				"0": "red",
				"0.5": "green",
				"1": "yellow"
			},
			"isStack":0,//是否堆积 默认0 为1时堆积 isGroup为1时生效
		},
		"source": {//列定义配置  参考 https://www.yuque.com/antv/f2/api-chart#z7ockv

		},
		"legend": {//图例配置
			"show": "",//如果设置为 false 则代表不显示所有图例 
			"config": {
				"field1": {//field1  field1对应的图例配置 参考 https://www.yuque.com/antv/f2/api-legend#ol5opw

				},
				"field2": {

				},
			}
		},
		"tooltip": {
			"show": "",
			"config": {// 参考 https://www.yuque.com/antv/f2/tooltip#6puach

			}
		},
		"coord": {
			"transposed": 1// 0|1   是否翻转 默认不翻转0
		}
	}
}
var data = {
	"id": "fold_list1",
	"options": [
		{
			"city": "London",
			"temp": 18.9,
			"month": "一"
		},
		{
			"city": "London",
			"temp": 28.8,
			"month": "二"
		},
		{
			"city": "London",
			"temp": 39.3,
			"month": "三"
		},
		{
			"city": "London",
			"temp": 81.4,
			"month": "四"
		},
		{
			"city": "London",
			"temp": 47,
			"month": "五"
		},
		{
			"city": "London",
			"temp": 12,
			"month": "20.3"
		},
		{
			"city": "London",
			"temp": 24,
			"month": "七"
		},
		{
			"city": "London",
			"temp": 35.6,
			"month": "八"
		}
	],
	"source_type": "option"
}